#!/usr/bin/env node


const fs=require('fs');
      http=require('http');

const buf=fs.readFileSync('./qr-code.jpg');console.log(buf.toString('base64'));
const html=`<!doctype html><html><body><img src="data:image/jpg;base64,${img_base64}"></body></html>`
http.creatServer((req,res)=>{
  res.end(html);
  
}).listen(8080);
